﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/Site.Master" Inherits="System.Web.Mvc.ViewPage<VTLive.Models.SuggestionViewModel>" %>

<asp:Content ID="Content1" ContentPlaceHolderID="TitleContent" runat="server">
	Add Suggestion
</asp:Content>

<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">

    <h2>Add Suggestion</h2>

             <%if (Model.suggestions.Count() != 0)
      { %>
    <table>
        <tr>
            <th>
                Suggestions
            </th>
        </tr>
                <%foreach (VTLive.Models.Suggestion s in Model.suggestions)
              { %>
              <tr>
                <td>
                    <%=Html.Encode(s.Name)%>
                </td>
              </tr>
            <%} %>
    </table>
    <% } %>


      <%Html.RenderPartial("NewVideoForm", Model.video); %>
        
</asp:Content>
